package com.luchao.back.service;

import com.luchao.back.pojo.Color;

import java.util.List;

public interface ColorService {

    List<Color> getColorByPage(int pageNum, int pageSize);

    int addColor(Color color);

    int editColor(Color color);

    long getColorCount();

    boolean batchChangeState(List<Color> list);

    int checkColor(String cname);

    List<Color> getAllColor();

    List<Color> getAllColorForView();
}
